package com.tianji.api.client.remark;

import com.tianji.api.client.remark.fallback.RemarkClientFallback;
import com.tianji.api.dto.remark.LikeRecordFormDTO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * @author chengjy
 * @date 2023/6/2
 */
@FeignClient(value = "remark-service",fallbackFactory = RemarkClientFallback.class)
public interface RemarkClient {

    @PostMapping("/likes")
    void addLikeRecord(@RequestBody LikeRecordFormDTO recordDTO);
}
